body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
}

h1 {
    color: #333;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

span {
    flex: 1;
    text-align: center;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

input[type="number"] {
    width: 60px;
    padding: 5px;
}

input[type="checkbox"] {
    margin-top: 10px;
}

/* shop_page.css */

/* 对话框背景遮罩 */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 对话框样式 */
.dialog {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    width: 400px;
    max-width: 90%;
}

.dialog h2 {
    margin-top: 0;
}

.dialog form {
    display: flex;
    flex-direction: column;
}

.dialog form label {
    margin-top: 10px;
}

.dialog form input {
    margin-top: 5px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.dialog form button {
    margin-top: 15px;
    padding: 10px;
    border: none;
    border-radius: 3px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

.dialog form button[type="button"] {
    background-color: #6c757d;
}